package com.example.denglu.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@TableName("user_information")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
public class UserInformation implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
   @TableField("id")
   Integer id ;
    /**
     * 姓名
     */
    @TableField("name")
    String name;
    /**
     * 性别
     */
   @TableField("gender")
    String gender;
    /**
     * 年纪
     */
    @TableField("age")
    Integer age;
    /**
     * 职位
     */
   @TableField("position")
    String position;
    /**
     * 是否删除
     */
   @TableField("deleted")
    int deleted;
    /**
     * 关键字
     */

}
